function tabs(obj, type) {
    $tab = $(obj);
    var index = $tab.index();
    $tabList = $(".div-right ul.list");
    $more = $(".div-right .title-line a");
    if (type == 0) {
        $tab.addClass("active");
        $tab.siblings("span").removeClass("active");
        $tabList.hide();
        $tabList.eq(index / 2).show();
        $more.eq(index / 2).show();
        $tab.attr('onClick', "tabs(this,1)");
        $tab.siblings("span").attr('onClick', "tabs(this,0)");
    } else return;
}